{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "47e68ec0",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "快来看看今天上什么课吧\n"
     ]
    }
   ],
   "source": [
    "---\n",
    "* 记录人：温倩雅\n",
    "* week02\n",
    "\n",
    "\n",
    "print('快来看看今天上什么课吧')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "52e78fc6",
   "metadata": {},
   "outputs": [],
   "source": [
    "import datetime"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "74c78f50",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2021-10-10,Sun 19:23:21\n"
     ]
    }
   ],
   "source": [
    "time = datetime.datetime.now().strftime('%Y-%m-%d,%a %H:%M:%S')\n",
    "print(time)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "id": "ad56073c",
   "metadata": {},
   "outputs": [],
   "source": [
    "day = datetime.datetime.today().weekday()\n",
    "week_day = int (day)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "d3bf152b",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "周末啦\n",
      "放假咯，放松点吧\n"
     ]
    }
   ],
   "source": [
    "if week_day==0:\n",
    "    print('星期一有二节课');print('6-7写作训练 1-202');print('8-10python语言 2实203')\n",
    "elif week_day==1:\n",
    "    print('星期二有二节课');print('8-10网站运营与管理 3实309');print('12-13大学英语（三）A班 10-405')\n",
    "elif week_day==2:\n",
    "    print('星期三有二节课');print('1-2户外体育游戏 西区体育馆');print('12-14创业基础（实践）3实312')\n",
    "elif week_day==3:\n",
    "    print('星期四有三节课');print('1-2毛概理论 7-401');print('4-5大学英语（三）A班 10-405');print('8-10毛概实践 7-402')\n",
    "elif week_day==4:\n",
    "    print('星期五有一节课');print('illustrator软件应用 新综612')\n",
    "else:\n",
    "    print('周末啦');print('放假咯，放松点吧')\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "f21c6fee",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Good good study, day day up\n"
     ]
    }
   ],
   "source": [
    "print('Good good study, day day up')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "51b8a73d",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}